package com.sixth.service;

import com.sixth.util.CommonResult;
import com.sixth.util.TableLayUi;

import java.util.Date;

/**
 * @program: carrent
 * @description:
 * @author: 老范
 * @create: 2022-01-13 21:50
 **/

public interface BuscarService1 {
    TableLayUi listByCondition(int page, int limit, String carnumber, String cartype, String color, Double price, Double rentprice, Double deposit, Integer isrenting, String description,String carimg);

    CommonResult delete(String carnumber);

    CommonResult add(String carnumber, String cartype, String color, Double price, Double rentprice, Double deposit, Integer isrenting,String description,String carimg, Date createtime);

    CommonResult update(String carnumber, String cartype, String color, Double price, Double rentprice, Double deposit, Integer isrenting,String description,String carimg, Date createtime);

    TableLayUi selectone(String carnumber, String carimg);

    CommonResult batch(String carnumber);
}
